package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ConfigurationProperties(prefix = "oss")
@Configuration
public class OssProperties {
    private  String key;  //访问 key
    private String secret; // 访问密钥
    private String endpoint; // 断点
    private String bucket; // 桶名

}
